//
//  fugitiveViewController.h
//  fugitive
//
//  Created by Eugene Bistolas on 5/25/11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <MapKit/MapKit.h>
#import <CoreLocation/CoreLocation.h> 
#import <QuartzCore/QuartzCore.h>
#import "GameSetupViewController.h"
#import "HelpViewController.h"
#import "PlayerNameViewController.h"
#import "GCPINViewController.h"



#define UP 0
#define DOWN 1
#define LEFT 2
#define RIGHT 3
#define BUTTON 0
#define IMAGE 1

@interface fugitiveViewController : UIViewController <MKMapViewDelegate, CLLocationManagerDelegate, GCPINViewControllerDelegate, PlayerNameViewControllerDelegate> {
   
   IBOutlet UIButton *startButton;
   IBOutlet UIButton *joinButton;
   IBOutlet UIButton *helpButton;
   IBOutlet MKMapView *titleMap;
   IBOutlet UIImageView *titleImage;
   IBOutlet UIButton *driverButton;
   IBOutlet UIButton *runnerButton;
   IBOutlet UIButton *observerButton;
   IBOutlet UIImageView *typeImage;
   IBOutlet UIButton *backButton;
   
   NSInteger gameInstance; 
   
   CLLocationManager *loc; 
}

- (IBAction) buttonPressed:(UIButton*)sender;
-(void)animateButtonOrImage:(int) type direction:(int) d tag:(int) t amount:(int) a speed:(double)s;
- (void) restoreFirstView;
- (void) restoreSecondView;
- (void) hideFirstView; 
- (void) hideSecondView; 
- (void) pinViewClosing;
- (void) newNameData:(NSString *) name; 
@end
